package com.woniuxy.commentclient.client;

import com.woniuxy.commentclient.client.dto.VenueDto;
import com.woniuxy.core.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("venue-server")
public interface VenueFeignClient {

    @GetMapping("/venue/venueInfo/findVenueById")
    public Result<VenueDto> findVenueById(@RequestParam("venueId") Integer venueId);
}
